package com.likersai.opon.pojo.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录请求参数
 *
 * @author sun.ye
 * @since 2021-02-23 14:14
 */
@Data
@ApiModel(value="登录请求参数",description="登录请求入参" )
public class LoginReq {

    @NotBlank(message = "login can not be blank")
    @ApiModelProperty(value = "登录名",example = "likersai")
    private String login;

    @NotBlank(message = "password can not be blank")
    @ApiModelProperty(value = "密码", example = "password")
    private String password;

}